﻿<Window x:Class="Collaboration_System.AddNewTaskWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:materialDesing ="http://materialdesigninxaml.net/winfx/xaml/themes"
                xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
        mc:Ignorable="d"
        Title="Dashboard" Height="700" Width="521" TextElement.Foreground="{DynamicResource  MaterialDesignBody}" Background="{x:Null}" AllowsTransparency="True" WindowStyle="None" WindowStartupLocation="CenterScreen" Loaded="Window_Loaded">
    <Window.Resources>
        <Style x:Key="CalendarStyle2" BasedOn="{StaticResource MaterialDesignCalendarPortraitBase}" TargetType="{x:Type Calendar}">
            <Setter Property="CalendarItemStyle" Value="{StaticResource MaterialDesignCalendarItemPortrait}"/>
        </Style>
    </Window.Resources>
    <materialDesing:Card Background="{DynamicResource MaterialDesignPaper}" UniformCornerRadius="15" Margin="15,15,-299,15" materialDesing:ShadowAssist.ShadowAnimationDuration="4">
        <Grid Margin="0,0,304,0">
            <Border Background="White" CornerRadius="9">
                <StackPanel VerticalAlignment="Center" Margin="75,0,75,0" Height="420">
                    <TextBox x:Name="NameTB" Style="{StaticResource MaterialDesignFloatingHintTextBox}" VerticalScrollBarVisibility="Visible" materialDesing:HintAssist.Hint="Название" materialDesing:HintAssist.FloatingOffset="0 -20" BorderBrush="#FFA9DDFF" BorderThickness="0 0 0 1.5" />
                    <TextBox x:Name="DescriptionTB" Style="{StaticResource MaterialDesignFloatingHintTextBox}" VerticalScrollBarVisibility="Visible" materialDesing:HintAssist.Hint="Описание" materialDesing:HintAssist.FloatingOffset="0 -20" BorderBrush="#FFA9DDFF" BorderThickness="0 0 0 1.5" />
                    <TextBox x:Name="DateIsTB" Style="{StaticResource MaterialDesignFloatingHintTextBox}" VerticalScrollBarVisibility="Visible" materialDesing:HintAssist.Hint="Дата выдачи" materialDesing:HintAssist.FloatingOffset="0 -20" BorderBrush="#FFA9DDFF" BorderThickness="0 0 0 1.5" />
                    <TextBox x:Name="DateCom" Style="{StaticResource MaterialDesignFloatingHintTextBox}" VerticalScrollBarVisibility="Visible" materialDesing:HintAssist.Hint="Дата завершения" materialDesing:HintAssist.FloatingOffset="0 -20" BorderBrush="#FFA9DDFF" BorderThickness="0 0 0 1.5" />
                    <TextBox x:Name="Pririty" Style="{StaticResource MaterialDesignFloatingHintTextBox}" VerticalScrollBarVisibility="Visible" materialDesing:HintAssist.Hint="Приоритет" materialDesing:HintAssist.FloatingOffset="0 -20" BorderBrush="#FFA9DDFF" BorderThickness="0 0 0 1.5" />
                    <ComboBox x:Name="UserComboBox" materialDesign:HintAssist.Hint="Работник" IsEditable="True" Style="{StaticResource MaterialDesignFloatingHintComboBox}" Visibility="Collapsed">
                    </ComboBox>
                    <StackPanel Orientation="Horizontal" Height="77">
                        <Button x:Name="SaveButton" Content="Сохранить" Background="#FF47D1FF" BorderBrush="#FF00C0FF" FontSize="18" Width="338" Height="45" materialDesing:ButtonAssist.CornerRadius="22" Margin=" 5 0 0 0" Click="SingIn_Click"/>
                    </StackPanel>
                </StackPanel>
            </Border>
            <StackPanel Background="#FF00C0FF" Margin="0,0,0,563"/>
            <TextBlock HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="30" Text="Создание задачи" FontFamily="Corbel Light" Margin="35,35,0,0"/>
        </Grid>
    </materialDesing:Card>
</Window>
